package com.filmbooks.contract.home.tabs;

import android.database.Observable;

import com.filmbooks.model.home.bean.home.WangyiNewsItemBean;
import com.filmbooks.model.home.bean.home.WangyiNewsListBean;
import com.filmbooks.model.home.bean.home.ZhihuDailyItemBean;
import com.filmbooks.model.home.bean.home.ZhihuDailyListBean;

/**
 * Created by heshuxiang on 2018/3/1.
 * 描述：
 * 公司：盟将威
 * 作者：heshuxiang
 * 日期：2018/3/1.
 * 工程：FilmBooks
 * 包：com.filmbooks.contract.home.tabs
 */

public interface WangyiContract {
    abstract class WangyiPresenter extends BaseTabsContract.BaseTabsPresenter<IWangyiModel,
            IWangyiView, WangyiNewsItemBean> {

    }

    interface IWangyiModel extends BaseTabsContract.IBaseTabsModel {
        /**
         * 获取网易新闻list
         *
         * @param id id
         * @return Observable
         */
        io.reactivex.Observable<WangyiNewsListBean> getNewsList(int id);
    }

    interface IWangyiView extends BaseTabsContract.IBaseTabsView<WangyiNewsItemBean> {

    }
}
